@import "reset.css";
@import "public.css";

@color:#80c4ae;
body {
    background: #fafafa;
}

#header {
    margin: 0 auto;
}

.type_page {
    width: 1200px;
}

// 中心部分 


#bodyer {
    margin-top: 30px;
    padding-bottom: 100px;

    //左边列表
    .list {
        padding: 28px 35px 0 15px;
        height: 450px;
        width: 220px;
        border-radius: 5px;
        background: #fff;
        float: left;
        box-sizing: border-box;
        margin-right: 30px;

        div {
            p {
                &:nth-child(1) {
                    height: 24px;
                    line-height: 24px;

                    img {
                        float: left;
                        margin-right: 12px;


                    }

                    span {
                        &:nth-child(2) {
                            float: left;
                            font-weight: bold;
                            font-size: 14px;
                        }

                        &:nth-child(3) {
                            float: right;
                            color: #ccc;
                        }
                    }
                }

                &:nth-child(2) {
                    margin: 9px 0 17px;
                    padding-left: 38px;
                    color: #747474;

                    b {
                        display: block;


                        line-height: 28px;
                        font-size: 14px;

                        i {
                            height: 6px;
                            width: 6px;
                            background: #78b8a3;
                            border-radius: 50%;
                            float: right;
                            margin: 12px 6px 0 0;
                            display: none;
                        }

                        &.cur {
                            color: #78b8a3;

                            i {
                                display: block;
                            }
                        }
                    }

                }

            }

        }

    }

    //右边详情1订单中心
    .order_center {
        display: none;
        padding-top: 28px;
        height: 1000px;
        float: left;
        width: 930px;

        &>p {
            span {
                margin-right: 20px;
                font-size: 14px;

                &:nth-child(2) {
                    font-size: 14px;
                }
            }
        }

        .all {
            padding-left: 18px;
            height: 40px;
            width: 100%;
            border-radius: 5px;
            background: @color;
            box-sizing: border-box;
            line-height: 40px;
            color: #fff;
            margin-top: 26px;
            font-size: 14px;

            li {
                float: left;
                width: 145px;
                text-align: center;

                &:nth-child(1) {
                    width: 330px;
                    text-align: start;
                }

            }
        }

        .one {
            height: 100px;
            padding: 24px 0 24px 20px;

            li {
                float: left;
                width: 145px;
                margin-top: 46px;
                text-align: center;

                &:nth-child(1) {
                    width: 330px;
                    margin-top: 0px;
                    text-align: start;

                    p {
                        &:nth-child(1) {
                            font-size: 14px;
                            margin-bottom: 10px;
                        }

                        &:nth-child(2) {
                            height: 36px;
                            line-height: 36px;
                            color: #343434;
                            margin-bottom: 22px;

                            span {
                                float: left;

                                &:nth-child(1) {
                                    height: 36px;
                                    width: 36px;
                                    background: #ccc;
                                    border-radius: 50%;
                                    margin-right: 10px;
                                }

                                &:nth-child(3) {
                                    height: 12px;

                                    line-height: 12px;
                                    margin: 12px 10px 0;
                                    padding: 0 10px;
                                    border-right: 2px solid @color;
                                    border-left: 2px solid @color;
                                }
                            }
                        }

                        &:nth-child(3) {
                            color: #666;
                            line-height: 12px;
                        }
                    }
                }

                &:nth-child(5) {
                    span {
                        cursor: pointer;

                        &:nth-child(1) {
                            text-decoration: underline;
                            color: @color;

                        }

                        &:nth-child(2) {
                            color: #ff6767;
                        }

                    }
                }

            }
        }
    }

    //右边详情2待评价
    .awiat {
        display: none;
        padding-top: 28px;
        height: 1000px;
        float: left;
        width: 950px;

        &>p {
            &:nth-child(1) {
                margin-bottom: 30px;

                span {
                    margin-right: 20px;
                    font-size: 14px;

                    &:nth-child(2) {
                        font-size: 14px;
                    }
                }
            }

            &:nth-child(2) {
                height: 30px;
                border-bottom: 1px solid #68b1a0;

                span {
                    float: left;
                    height: 30px;
                    width: 84px;
                    text-align: center;
                    line-height: 30px;
                    font-size: 14px;
                    cursor: pointer;

                    &.cur {
                        background: @color;
                        color: #fff;
                        border-radius: 5px;
                        font-size: 16px;

                    }
                }
            }

        }

        .one {
            height: 100px;
            padding: 24px 0 24px 20px;

            li {
                margin-top: 46px;
                text-align: center;

                &:nth-child(1) {
                    float: left;
                    width: 330px;
                    margin-top: 0px;
                    text-align: start;

                    p {
                        &:nth-child(1) {
                            font-size: 14px;
                            margin-bottom: 10px;
                        }

                        &:nth-child(2) {
                            height: 36px;
                            line-height: 36px;
                            color: #343434;
                            margin-bottom: 22px;

                            span {
                                float: left;

                                &:nth-child(1) {
                                    height: 36px;
                                    width: 36px;
                                    background: #ccc;
                                    border-radius: 50%;
                                    margin-right: 10px;
                                }

                                &:nth-child(3) {
                                    height: 12px;

                                    line-height: 12px;
                                    margin: 12px 10px 0;
                                    padding: 0 10px;
                                    border-right: 2px solid @color;
                                    border-left: 2px solid @color;
                                }
                            }
                        }

                        &:nth-child(3) {
                            color: #666;
                            line-height: 12px;
                        }
                    }
                }

                &:nth-child(2) {
                    float: right;
                    color: @color;
                    cursor: pointer;
                    margin-right: 10px;
                }

            }
        }


    }



    //右边详情3我的评价
    .awiater {
        display: none;
        padding-top: 28px;
        height: 1000px;
        float: left;
        width: 950px;

        &>p {
            &:nth-child(1) {
                margin-bottom: 30px;

                span {
                    margin-right: 20px;
                    font-size: 14px;

                    &:nth-child(2) {
                        font-size: 14px;
                    }
                }
            }

            &:nth-child(2) {
                height: 30px;
                border-bottom: 1px solid #68b1a0;

                span {
                    float: left;
                    height: 30px;
                    width: 84px;
                    text-align: center;
                    line-height: 30px;
                    font-size: 14px;
                    cursor: pointer;

                    &.cur {
                        background: @color;
                        color: #fff;
                        border-radius: 5px;
                        font-size: 16px;

                    }
                }
            }

        }

        .one {

            padding: 24px 0 24px 20px;

            li {


                &:nth-child(1) {
                    float: left;
                    margin-right: 15px;
                    height: 42px;
                    width: 42px;
                    background: #ccc;
                    border-radius: 50%;
                }

                &:nth-child(2) {
                    float: left;

                    p {
                        &:nth-child(1) {
                            margin-bottom: 20px;

                            span {
                                &:nth-child(1) {
                                    margin-right: 10px;
                                }

                                &:nth-child(2) {
                                    color: #f2cb51;
                                }
                            }
                        }

                        &:nth-child(2) {
                            margin-bottom: 14px;

                            span {
                                &:nth-child(1) {
                                    color: @color;
                                    margin-right: 10px;
                                }
                            }
                        }


                    }

                }

                &:nth-child(3) {
                    margin: 46px 15px 0 0;
                    float: right;

                    span {
                        cursor: pointer;

                        &:nth-child(1) {
                            color: #ff6666;
                            margin-right: 25px;
                        }

                        &:nth-child(2) {
                            color: #74c7b4;
                        }
                    }
                }


            }
        }


    }



    //右边详情4我的练习
    .my_work {
        display: none;
        padding-top: 28px;
        height: 1000px;
        float: left;
        width: 950px;
        float: left;

        &>p {
            margin-bottom: 30px;

            span {
                margin-right: 20px;

                font-size: 14px;

                &:nth-child(2) {
                    font-size: 14px;
                }
            }
        }

        &>div {
            width: 950px;
           

            &>p {
                float: left;
                line-height: 24px;
                font-weight: bold;

                font-size: 16px;
                width: 100px;
            }

            ul {
                float: left;
                width: 830px;

                li {
                    height: 40px;
                    float: left;
                    width: 94px;
                    text-align: center;

                    a {
                        line-height: 40px;
                        display: inline-block;
                        padding: 0 6px;
                        color: #6f6f6f;
                        height: 26px;
                        line-height: 26px;
                        margin: 0 auto;
                        border-radius: 4px;

                        &:hover {
                            background: @color;
                            color: #fff;
                        }

                        &.active {
                            background: @color;
                            color: #fff;
                        }
                    }

                }
            }
        }

        .detail {
            ul {
                width: 950px;

                li {
                    width: 458px;
                    height: 256px;
                    border-radius: 5px;
                    background: #fff;
                    float: left;
                    margin: 0 30px 30px 0;

                    &:nth-child(2),
                    &:nth-child(4) {
                        margin-right: 0;
                    }

                    div {
                        &:nth-child(1) {
                            height: 196px;
                            position: relative;

                            img {
                                width: 458px;
                                height: 196px;
                                position: absolute;
                                left: 0;
                                top: 0;
                                background: #ccc;
                            }

                            p {
                                text-align: start;
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                width: 458px;
                                box-sizing: border-box;
                                background: #000;
                                opacity: .3;
                                line-height: 33px;
                                color: #f8f2ff;
                                padding-left: 10px;
                                padding-right: 28px;

                            }
                        }

                        &:nth-child(2) {
                            height: 60px;
                            padding: 0 5px 0 10px;
                            box-sizing: border-box;

                            p {
                                &:nth-child(1) {
                                    float: left;
                                    text-align: start;

                                    span {
                                        &:nth-child(1) {

                                            line-height: 32px;
                                            font-size: 14px;
                                        }

                                        &:nth-child(2) {
                                            color: #8f8f8f;
                                            font-size: 12px;
                                            line-height: 12px;
                                        }


                                    }

                                }

                                &:nth-child(2) {
                                    float: right;
                                    height: 30px;
                                    width: 86px;
                                    background: #74c6b3;
                                    color: #fff;
                                    font-size: 16px;
                                    line-height: 30px;
                                    text-align: center;
                                    border-radius: 5px;
                                    margin-top: 22px;
                                }
                            }
                        }
                    }
                }
            }
        }


    }


    //右边详情5
    .user_setting {
        // display: none;
        padding-top: 28px;
        height: 1000px;
        float: left;
        width: 950px;
        float: left;

        &>p {
            &:nth-child(1) {
                margin-bottom: 30px;

                span {
                    margin-right: 20px;
                    font-size: 14px;

                    &:nth-child(2) {
                        font-size: 14px;
                    }
                }
            }

            &:nth-child(2) {
                height: 30px;
                border-bottom: 1px solid #68b1a0;

                span {
                    float: left;
                    height: 30px;
                    width: 84px;
                    text-align: center;
                    line-height: 30px;
                    font-size: 14px;
                    cursor: pointer;

                    &.cur {
                        background: @color;
                        color: #fff;
                        border-radius: 5px;
                        font-size: 16px;

                    }
                }
            }

        }
        ul{
            padding: 26px 0 0 10px;
            li{
                
                &:last-child{
                    input{
                        float: right;
                    }
                }
                height: 40px;
               
                &:nth-child(1){
                    margin-bottom: 20px;
                    height: 63px;
                    line-height: 60px;
                    
                    img{
                        display: inline-block;
                        
                        height: 62px;
                        width: 62px;
                        border-radius: 50%;
                        vertical-align: middle;
                        
                    }
                }
                margin-bottom: 30px;
                p{
                    &:nth-child(2){
                        margin-right:0;
                    }
                    margin-right: 110px;
                    width: 360px;
                    float: left;
                    label{
                        font-size: 14px;
                        line-height: 38px;
                        display: inline-block;
                        width: 60px;
                        margin-right: 40px;
                    }
                    input[type=text],input[type=date]{
                        width: 258px;
                        height: 38px;
                        border: 1px solid @color;
                    }
                }
            }
        }
        
    }
}

//返回顶部标签
#return_top {
    position: fixed;
    bottom: 0;
    right: 15px;
    
    img{
        margin-bottom: 6px;
        height: 70px;
        width: 70px;
        background: #ffefd6;
        border-radius: 4px;
    }

}